package com.dragon.upms.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.upms.api.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @date: 2024/9/19 09:46
 * @author: ybl
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {


    /**
     * 通过角色编号查询菜单
     * @param roleId 角色ID
     * @return
     */
    List<SysMenu> listMenusByRoleId(Long roleId);
}
